package com.godtree.service.impl;

import cn.hutool.core.util.StrUtil;
import com.godtree.dao.RanksMapper;
import com.godtree.model.Ranks;
import com.godtree.service.IRanksService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 排名 服务实现类
 * </p>
 *
 * @author lisicheng
 * @since 2022-07-18
 */
@Service
public class RanksServiceImpl extends ServiceImpl<RanksMapper, Ranks> implements IRanksService {

  @Override
  public void updateKeyWords(String id) {
    if (StrUtil.isBlank(id)) {
      return;
    }
    baseMapper.updateKeywords(id);
  }
}
